package alvarodelrosal.chat.server.infraestructura;

import alvarodelrosal.chat.server.modelo.ChatUser;
import java.util.List;

public interface ChatUsersPersistence {
    
    public boolean existsTheUser(String username);
    public boolean existsTheUser(String username, String password);
    public ChatUser getTheUser(String username, String password);
    public ChatUser getTheUser(int userId);
    public void addUser(ChatUser user);
    public void deleteUser(int userId);
    public List<ChatUser> getAllUsers();
    
}
